home *** CD-ROM | disk | FTP | other *** search
- DICE.EXE - DOS Interactive Command Editor version 3.6 Page 1
-
-
- TABLE OF CONTENTS
-
- 1 INTRODUCTION . . . . . . . . . . . . . . . . . . . . 1
- 2 OPERATION . . . . . . . . . . . . . . . . . . . . . 1
- 2.1 Command Prompt . . . . . . . . . . . . . . . . . . 2
- 2.2 Command Line And Buffer Editing . . . . . . . . . 2
- 2.3 DICE.EXE Function Key Definitions. . . . . . . . . 3
- 2.4 Restrictions . . . . . . . . . . . . . . . . . . . 4
- 3 PROGRAM AND DOCUMENTATION USAGE . . . . . . . . . . 5
-
-
-
- Copyright (C) 1986 Eric S. Adams
-
-
-
-
- 1 INTRODUCTION
-
- DICE.EXE (DOS Interactive Command Editor) is a DOS command editor
- which enables more efficient entry of DOS commands. It features:
-
- 1. Enhanced editing capability of DOS command line.
- 2. Stacks 20 previously entered DOS commands for recall to the
- command line.
- 3. Stores 10 commands which can be edited, displayed and/or
- executed in a menu like fashion.
- 4. Provides 3 undelete buffers which can be used to hold command
- parameters.
- 5. Display of saved commands, stacked commands and buffers.
- 6. Buffer can be stored in a disk file to be read in when
- DICE.EXE is started.
- 7. Help function that shows a summary of DICE.EXE commands.
-
-
-
-
- 2 OPERATION
-
- After DICE.EXE is invoked, command entry is much like that of DOS
- with the the added features listed above.
-
- At startup time it attempts to read the file DICE.DAT from the
- current directory. This file contains the contents of the command and
- undelete buffers and can be created from DICE.EXE by pressing <alt>F1.
- If the file does not exist, the buffers are left empty. If a $Cn
- switch has been specified as a command parameter, then DICE.EXE will
- execute the command stored in the saved command buffer n. See example
- below.
-
- If DICE.EXE waits for a key for about 20 minutes or so, it will
- clear the screen. It does this by clearing display page 3 and
- selecting it. When a key is pressed, then the display is restored.
- Note, the screen is not cleared from within applications run from
- DICE.
- DICE.EXE - DOS Interactive Command Editor version 3.6 Page 2
-
-
- 2.1 Command Prompt
-
- DICE.EXE generates it's own command prompt which is configured by
- specifying command arguments when the program is invoked. The
- DICE.EXE command arguments are as follows:
-
- 1. $nnn - display attribute of the prompt, command line and
- DICE.EXE displays.
- 2. $$ - puts a dollar sign in the prompt string.
- 3. $d - puts the current date in the prompt string.
- 4. $t - puts the time of day into the prompt.
- 5. $p - puts the current drive and directory into the prompt.
- 6. $_ - does a carriage return/line feed.
- 7. $v - inserts the DOS version number into the prompt.
- 8. $g - puts in the ">" character.
- 9. $l - puts in the "<" character.
- 10. n - puts in the drive letter.
- 11. $Cn - executes saved command buffer n upon startup of
- DICE.EXE.
- 12. ASCII characters go into the prompt string unaltered with the
- exception of excess white space which gets ignored.
-
-
- For example, if DICE.EXE is invoked as follows:
-
- EXAMPLE: DICE.EXE $C10 $10 $d $t $p $_Ready$g
-
- The command in saved command buffer 10 will be executed and the
- display will be in light green (CGA). The prompt for command entry
- format will be as follows:
-
- Wed, Oct 1,1986 2:00:30.01pm C:\COMM
- Ready>_
-
-
-
-
- 2.2 Command Line And Buffer Editing
-
- The following list summarizes the editing functions for the
- command buffers:
- 1. Left arrow - moves cursor left one character.
- 2. <Ctrl> Left arrow - moves cursor left one word.
- 3. Right arrow - moves cursor right one character.
- 4. <Ctrl> Right arrow - moves cursor right one word.
- 5. Home - moves to the start of the command line.
- 6. End - moves to the end of the command line.
- 7. Up arrow - moves saved command pointer up one command.
- 8. PgUp - moves command pointer to the saved command section.
- 9. Down arrow - moves saved command pointer down one command.
- 10. PgDn - moves the command pointer down to the command stack
- and sets the command stack to the bottom.
- 11. <Ctrl>PgUp - scrolls up 5 commands in the command stack.
- 12. <Ctrl>PgDn - scrolls down 5 commands in the command stack.
- 13. <Esc><Esc> - exits from DICE.EXE and returns to normal DOS
- operation.
- DICE.EXE - DOS Interactive Command Editor version 3.6 Page 3
-
-
- 14. Del - deletes the character under the cursor and pushes it
- onto the delete character garbage stack as well as into the
- undelete character buffer.
- 15. Backspace - deletes the character before the cursor and
- pushes it onto the backspace delete character garbage stack.
- 16. Ins - toggles the edit mode between insert mode and
- overstrike mode.
- 17. A Semi-colon is a command line delimiter and can be used to
- include comments in the saved command buffers. For example:
-
- CD C:\MYDIR ; Change to my directory
-
- 18. A comma is a command delimiter and can be used to put
- multiple commands on a single command line. For example:
-
- C:,CD C:\MYDIR ; go to drive c and change to my directory
-
-
-
-
-
- 2.3 DICE.EXE Function Key Definitions.
-
- The function keys F1 through F10 perform the following functions.
-
- +---------------+---------------+
- |F1 |F2 |
- | DICE HELP | DICE DISPLAY |
- | | |
- | | |
- +---------------+---------------+
- |F3 |F4 |
- | TOGGLE LAST | TOGGLE |
- | COMMAND ON | TO AND FROM |
- | COMMAND LINE | EDIT MODE |
- | | |
- +---------------+---------------+
- |F5 |F6 |
- | DELETE TO | UNDELETE |
- | END OF LINE | LAST END OF |
- | | LINE DELETE |
- | | |
- +---------------+---------------+
- |F7 |F8 |
- | DELETE WORD | UNDELETE |
- | AND PUT IN | FROM WORD |
- | WORD BUF. A | BUF. A |
- | | |
- +---------------+---------------+
- |F9 |F10 |
- | DELETE WORD | UNDELETE |
- | AND PUT IN | FROM WORD |
- | WORD BUF. B | BUF. B |
- | | |
- +---------------+---------------+
-
- DICE.EXE - DOS Interactive Command Editor version 3.6 Page 4
-
-
- Alt. Function key definitions:
-
- +---------------+---------------+
- |Alt F1 |Alt F2 |
- | STORE COMMAND | READ COMMAND |
- | STACK IN FILE | STACK FROM |
- | DICE.DAT | FILE DICE.DAT |
- | | |
- +---------------+---------------+
- |Alt F3 |Alt F4 |
- | | |
- | | Undelete |
- | | Character |
- | | |
- | | |
- +---------------+---------------+
- |Alt F5 |Alt F6 |
- | | |
- | | Pop Del |
- | | Character |
- | | Garbage |
- | | |
- +---------------+---------------+
- |Alt F7 |Alt F8 |
- | | |
- | | Pop |
- | | Backspace |
- | | Delete char. |
- | | Garbage |
- +---------------+---------------+
- |Alt F9 |Alt F10 |
- | | |
- | | Pop Word |
- | | Delete |
- | | Garbage |
- | | |
- +---------------+---------------+
-
-
- Shift function keys execute the saved commands. For example:
- Shift F1 will execute saved command number 1.
-
-
-
- 2.4 Restrictions
-
- DICE.EXE uses the DOS int 21 EXEC function to execute DOS
- commands, batch jobs or run executable files. This function brings in
- part of the DOS file command.com from disk and the current environment
- including the path. This has the following affects:
-
- 1. Executing commands is slower. This isn't too bad on systems
- with a bootable hard disc, but can be annoying on floppy
- based systems.
- DICE.EXE - DOS Interactive Command Editor version 3.6 Page 5
-
-
- 2. The set and path commands only set the environment or path
- until the command is finished, after which the environment
- returns to what it was before the command. If you use the
- set or path functions in a batch job, it will remain until
- the batch job is complete. If you want to use set or path to
- permanently change the environment, you must exit the
- DICE.EXE program.
-
- DICE.EXE uses about 22k of memory.
-
-
-
- 3 PROGRAM AND DOCUMENTATION USAGE
-
- The DICE.EXE program and documentation are intended to be copied
- and/or distributed for non-commercial use.
-
- If you're using the DICE.EXE program and find it useful as I
- have, your contribution ($15 suggested) would be greatly appreciated.
- Also if you have comments or suggestions for the program, please mail
- them and I'll consider them for future revisions.
-
- Eric S. Adams
- 29284 Willow Lane
- Willoughby Hills, Ohio
- 44092
-
-